[INFO] cloning repository https://github.com/parthdude07/bitcoin_txn_build
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parthdude07/bitcoin_txn_build" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparthdude07%2Fbitcoin_txn_build", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparthdude07%2Fbitcoin_txn_build'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 051b9a73708cb29231aeede37df0d9763ed85a44
[INFO] fixing parthdude07/bitcoin_txn_build against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparthdude07%2Fbitcoin_txn_build" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/parthdude07/bitcoin_txn_build
[INFO] finished tweaking git repo https://github.com/parthdude07/bitcoin_txn_build
[INFO] tweaked toml for git repo https://github.com/parthdude07/bitcoin_txn_build written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/parthdude07/bitcoin_txn_build on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/parthdude07/bitcoin_txn_build already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded secp256k1-sys v0.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0
[INFO] running `Command { std: "docker" "start" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling secp256k1-sys v0.8.2
[INFO] [stderr]     Checking secp256k1 v0.27.0
[INFO] [stderr]     Checking manual_btc_txn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `varint` is defined multiple times
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod varint; // Import the varint module we made above
[INFO] [stdout]   | ----------- previous definition of the module `varint` here
[INFO] [stdout] 4 | mod varint;
[INFO] [stdout]   | ^^^^^^^^^^^ `varint` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `varint` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `varint` is defined multiple times
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod varint; // Import the varint module we made above
[INFO] [stdout]   | ----------- previous definition of the module `varint` here
[INFO] [stdout] 4 | mod varint;
[INFO] [stdout]   | ^^^^^^^^^^^ `varint` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `varint` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `keys::p2pkh_script`
[INFO] [stdout]  --> src/main.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use keys::{KeyPair, p2pkh_script};
[INFO] [stdout]   |                     ^^^^^^^^^^^^ no `p2pkh_script` in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `keys::p2pkh_script`
[INFO] [stdout]  --> src/main.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use keys::{KeyPair, p2pkh_script};
[INFO] [stdout]   |                     ^^^^^^^^^^^^ no `p2pkh_script` in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in module `keys`
[INFO] [stdout]    --> src/main.rs:207:29
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let prev_script = keys::p2pkh_script(&key_pair.public);
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in module `keys`
[INFO] [stdout]    --> src/main.rs:225:36
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let destination_script = keys::p2pkh_script(&key_pair.public); 
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ not found in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use keys::{KeyPair, p2pkh_script};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in module `keys`
[INFO] [stdout]    --> src/main.rs:207:29
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let prev_script = keys::p2pkh_script(&key_pair.public);
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in module `keys`
[INFO] [stdout]    --> src/main.rs:225:36
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let destination_script = keys::p2pkh_script(&key_pair.public); 
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ not found in `keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use keys::{KeyPair, p2pkh_script};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `tx_clone.inputs` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |         for tx_in in &mut tx_clone.inputs {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^ `tx_clone` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: `Transaction` doesn't implement `Clone`, so this call clones the reference `&Transaction`
[INFO] [stdout]    --> src/main.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] help: consider annotating `Transaction` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  74 + #[derive(Clone)]
[INFO] [stdout]  75 | pub struct Transaction {
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone: &mut Transaction = self.clone();
[INFO] [stdout]     |                         ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `tx_clone.inputs` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         tx_clone.inputs[input_index].script_sig = prev_script_pubkey.to_vec();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ `tx_clone` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: `Transaction` doesn't implement `Clone`, so this call clones the reference `&Transaction`
[INFO] [stdout]    --> src/main.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] help: consider annotating `Transaction` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  74 + #[derive(Clone)]
[INFO] [stdout]  75 | pub struct Transaction {
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone: &mut Transaction = self.clone();
[INFO] [stdout]     |                         ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `tx_clone.inputs` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |         for tx_in in &mut tx_clone.inputs {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^ `tx_clone` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: `Transaction` doesn't implement `Clone`, so this call clones the reference `&Transaction`
[INFO] [stdout]    --> src/main.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] help: consider annotating `Transaction` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  74 + #[derive(Clone)]
[INFO] [stdout]  75 | pub struct Transaction {
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone: &mut Transaction = self.clone();
[INFO] [stdout]     |                         ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `tx_clone.inputs` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         tx_clone.inputs[input_index].script_sig = prev_script_pubkey.to_vec();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ `tx_clone` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: `Transaction` doesn't implement `Clone`, so this call clones the reference `&Transaction`
[INFO] [stdout]    --> src/main.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone = self.clone();
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] help: consider annotating `Transaction` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  74 + #[derive(Clone)]
[INFO] [stdout]  75 | pub struct Transaction {
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut tx_clone: &mut Transaction = self.clone();
[INFO] [stdout]     |                         ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0432, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0432, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `manual_btc_txn` (bin "manual_btc_txn" test) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `manual_btc_txn` (bin "manual_btc_txn") due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0", kill_on_drop: false }`
[INFO] [stdout] 154f6b34b9f5fa97e6269222d3042a3d2c59a5d15d158bb3afd21b8dd83d08b0
